package pl.polidea.imf.blackberry.ui;

import net.rim.device.api.system.Application;
import net.rim.device.api.ui.Screen;
import net.rim.device.api.ui.Ui;
import net.rim.device.api.ui.UiEngine;

public class GlobalUIHelper {
	public static void pushGlobalScreen(Screen s) {
		
		synchronized (Application.getEventLock()) {

			UiEngine ui = Ui.getUiEngine();
			ui.pushGlobalScreen(s, 1, UiEngine.GLOBAL_QUEUE);

		}
	}
}
